{extend name="main/index" /}
{block name="main"}

<!-- Start right content -->
<div class="content-page">
    <!-- ============================================================== -->
    <!-- Start Content here -->
    <!-- ============================================================== -->
    <div class="content">
        <!-- Page Heading Start -->
        <div class="page-heading">
            <h1><i class='fa fa-check'></i>用户详情</h1>
        </div>
        <!-- Page Heading End-->

        <!-- Your awesome content goes here -->
        <div class="row">
            <div class="col-sm-3 portlets">
            </div>
            <div class="col-sm-6 portlets">

                <div class="widget">
                    <div class="widget-header transparent">
                        <h2><strong>用户</strong> {$data['nickname']} 的详情</h2>
                        <div class="additional-btn">
                            <a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
                            <a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
                            <a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
                        </div>
                    </div>
                    <div class="widget-content padding">
                        <div id="horizontal-form">
                            <form class="form-horizontal" role="form" >
                                <input type="hidden" name="_method" value="PUT">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-2 control-label">用户昵称</label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form-control" id="inputEmail3"  value="{$data['nickname']}" name="nickname">

                                    </div>
                                </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">用户姓名</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="inputEmail3"  value="{$data['name']}" name="name">

                                </div>
                            </div>

                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">电话号码</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="inputEmail3"  value="{$data['tel']}" name="tel">

                                </div>
                            </div>

                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">用户邮箱</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="inputEmail1"  value="{$data['email']}" name="email">

                                </div>
                            </div>

                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-2 control-label">状态</label>
                                    <div class="col-sm-10">
                                        <select class="form-control" name="status">
                                            <option value="0" {if condition="$data['status'] == 0 "} selected  {/if} >禁用</option>
                                            <option value="1" {if condition="$data['status'] == 1 "} selected  {/if}>激活</option>
                                        </select>

                                    </div>

                                </div>
                            </form>
                        </div>
                    </div>
                </div>

            </div>

            <div class="col-sm-3 portlets">
            </div>

        </div>

        {/block}